<%@ page language="java" contentType="text/html; charset=UTF-8"
         pageEncoding="UTF-8" %>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%
    String ctx = request.getContextPath();
    request.setAttribute("ctx", ctx);
%>
<html>
<head>
    <title>POM 项目</title>
    <script src="js/jquery-1.8.2.min.js"></script>
    <script src="js/fileupload.js"></script>
    <link rel="stylesheet" href="bootstrap-4.6.0-dist/css/bootstrap.css">
    <link rel="stylesheet" href="css/img.css">
<%--    <link rel="stylesheet" href="css.css">--%>
</head>
<body>
<table class="table table-dark">
    <tr>
        <td>发布时间</td>
        <td>品牌</td>
        <td>品类</td>
        <td>产品编号</td>
        <td>主版本号</td>
        <td>从版本号</td>
        <td>制作图片</td>
        <td>总用量</td>
        <td>制片人</td>
        <td>审核人</td>
        <td>备注</td>
    </tr>
    <c:forEach items="${pageInfo.list}" var="li">
        <tr>
            <td>${li.odata}</td>
            <td>${li.pinpai}</td>
            <td>${li.pinlei}</td>
            <td>${li.changpinbianhao}</td>
            <td>${li.zhubanbenbianhao}</td>
            <td>${li.congbanbenbianhao}</td>
            <td>${li.zhituwenjian}</td>
            <td>${li.zongyongliang}</td>
            <td>${li.zhizuoren}</td>
            <td>${li.shenkeren}</td>
            <td>${li.beizhu}</td>
        </tr>
    </c:forEach>
    <tr>
        <td align="center" colspan="20">
            <input type="button" value="首页" onclick="fenye(1)">
            <input type="button" value="上一页" onclick="fenye(${pageInfo.isIsFirstPage()?1:pageInfo.prePage})">
            <input type="button" value="下一页" onclick="fenye(${pageInfo.isIsLastPage()?pageInfo.pages:pageInfo.nextPage})">
            <input type="button" value="尾页" onclick="fenye(${pageInfo.pages})">
        </td>
    </tr>
</table>
</body>
</html>
